<!--
 * @Description: form
 * @Author: rendc
 * @Date: 2021-08-04 14:25:11
 * @LastEditors: rendc
 * @LastEditTime: 2021-08-05 14:37:13
-->
<!DOCTYPE html>
<html lang="en">

<head>
  <meta charset="UTF-8">
  <meta http-equiv="X-UA-Compatible" content="IE=edge">
  <meta name="viewport" content="width=device-width, initial-scale=1.0">
  <title>form</title>
</head>

<body>
  <form action="" method="POST">
    用户名：<input type="text" name="username" id="username" class="" autofocus placeholder="请输入用户名" required>
    <br /><label for="username"></label>
    密码：<input type="text" name="password" id="password" placeholder="请输入密码" required>
    手机：<input type="text" name="phone" id="phone" required pattern="1\d{10}" maxlength="11">

    <br />

    <input type="submit" value="提交">
  </form>

</body>

</html>